package com.zhengxin.one.service;

import com.zhengxin.one.entity.Record;
import com.zhengxin.one.entity.client.RecordAdd;
import com.zhengxin.one.entity.excel.RecordExportExcel;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface RecordService {
    //获取历史记录
    List<Record> getRecords(String company_id,int page,int size,String start_time,String end_time,String keyword,String service_type,String status,String handle_type);
    //导出
    List<RecordExportExcel> getRecordss(String company_id,int page, int size, String start_time, String end_time, String keyword, String service_type, String handle_type, String status);
    //获取历史记录
    HashMap<String,Object> getOnesSo(String service_type, String handle_type, String id_card);
    //撤销操作
    int getReBacks(String service_type,String handle_type,String id_card);
    //添加历史记录
    int setPerson(RecordAdd recordAdd);
}
